package com.flyqiu.form.model.avue;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AvueForm {
    @Schema(title = "卡片效果", defaultValue= "false")
    private Boolean card = false;
    @Schema(title = "清空按钮", defaultValue= "false")
    private Boolean emptyBtn = false;
    @Schema(title = "清空按钮的大小", defaultValue= "medium")
    private String emptySize = "medium";
    @Schema(title = "清空按钮的文字", defaultValue= "清空")
    private String emptyText = "清空";
    @Schema(title = "回车提交表单", defaultValue= "false")
    private Boolean enter = false;
    @Schema(title = "分组", defaultValue= "Array")
    private String group;

    @Schema(title = "项之间的间", defaultValue= "20")
    private Integer gutter = 20;
    @Schema(title = "表单的label宽度", defaultValue= "80")
    private String labelWidth = "20";

    @Schema(title = "表单的label位置 left/top/right", defaultValue= "left")
    private String labelPosition = "left";
    @Schema(title = "是否显示按钮", defaultValue = "true")
    private Boolean menuBtn = true;
    @Schema(title = "菜单的span 1-24", defaultValue= "24")
    private Integer menuSpan = 24;
    @Schema(title = "菜单的按钮的位置 left/center/right", defaultValue= "center")
    private String menuPosition = "center";
    @Schema(title = "表单全局控件的大小 medium/mini/small", defaultValue= "medium")
    private String size = "medium";
    @Schema(title = "提交按钮 ", defaultValue= "true")
    private Boolean submitBtn = true;
    @Schema(title = "提交按钮的大小 medium/mini/small ", defaultValue= "medium")
    private String submitSize = "medium";
    @Schema(title = "提交按钮的文字 ", defaultValue= "提交")
    private String submitText = "提交";
    @Schema(title = "列信息")
    private List<AvueBaseFormColumn> column;
}


